package com.sumainfor.pc.epc.fallback.ZfallBack;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.epc.feign.Zfeign.ZwxTenantFeign;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 功能描述:调用网关服务
 *
 */
@Component
public class ZwxTenantFeignFallback implements ZwxTenantFeign {


    @Override
    public JsonResult getTenantTenPhone(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }
    @Override
    public JsonResult getTenantList(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }
}

